package com.pactera.processor;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Processor{
	
	private static ExecutorService threadPool = Executors.newFixedThreadPool(100);
	
	private static Processor instance = new Processor();
	private Processor(){
		
	}
	
	public static Processor getInstance(){
		
		return instance;
	}
	
	public void submitMission(Runnable r){
		threadPool.submit(r);
	}

}
